FROM  harbor.xgit.com.cn/parts/centos7_jdk8_base_sap:v1
VOLUME /root/xcmg
WORKDIR /home
ADD ./target/gateway-server-0.0.3-SNAPSHOT.jar app.jar

ENTRYPOINT exec java -server -Xms512m -Xmx512m -Djava.security.egd=file:/dev/./urandom ${JAVA_OPTS} -jar app.jar  ${EUREKA_SET}
